package com.medicine.product.study.clone;

/**
 * @author lynn
 * @version 1.0
 * @date 2022/2/17
 */
public class Realizetype implements Cloneable {

    Realizetype() {
        System.out.println("具体原型创建成功！");
    }
    public Object clone() throws CloneNotSupportedException {
        System.out.println("具体原型复制成功！");
        return (Realizetype) super.clone();
    }
}
